package com.ds.ssm.dao;

import com.ds.ssm.entity.GoodsItem;
import com.ds.ssm.entity.GoodsVo;

import java.util.List;
import java.util.Map;

public interface GoodsMapper {
    GoodsItem findById(int id);

    List<GoodsItem> findByName(String name);

    List<GoodsItem> findByParam(Map<String,Object> map);

    List<GoodsItem> findByGoodsVO(GoodsVo goodsVo
    );

    int insert(GoodsItem user);

    int update(GoodsItem user);

    int modify(int id);

    int GoodsCount();

    GoodsItem selGoodsId();
}
